package space.xxhui.xxlreport.job.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Slf4j
@Component("demoOnceTask")
public class OnceTask implements CommandLineRunner {

    @Autowired
    private SampleXxlJob sampleXxlJob;

    @Override
    public void run(String... args) throws Exception {
        //sampleXxlJob.demoJobHandler();
    }

}
